package edu.hunan.cxb18.jdbc.pojo;

import java.time.LocalDateTime;

/**
 * @author chenheng
 * @create 2020-03-24 8:18
 */
public class User {
    private Integer id;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    private String username;
    private String pwd;
    private boolean isActice;
    private LocalDateTime dotime;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", pwd='" + pwd + '\'' +
                ", isActice=" + isActice +
                ", dotime=" + dotime +
                '}';
    }

    public boolean isActice() {
        return isActice;
    }

    public void setActice(boolean actice) {
        isActice = actice;
    }

    public LocalDateTime getDotime() {
        return dotime;
    }

    public void setDotime(LocalDateTime dotime) {
        this.dotime = dotime;
    }

    public User() {
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }
}
